package com.hrrt.home.dao.mapper;

import com.hrrt.home.dao.model.HomeGateway;
import com.hrrt.home.dao.model.HomeGatewayExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HomeGatewayMapper {
    long countByExample(HomeGatewayExample example);

    int deleteByExample(HomeGatewayExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HomeGateway record);

    int insertSelective(HomeGateway record);

    List<HomeGateway> selectByExample(HomeGatewayExample example);

    HomeGateway selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HomeGateway record, @Param("example") HomeGatewayExample example);

    int updateByExample(@Param("record") HomeGateway record, @Param("example") HomeGatewayExample example);

    int updateByPrimaryKeySelective(HomeGateway record);

    int updateByPrimaryKey(HomeGateway record);
}